﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WLYT.Admin.WebApi.Component;
using WLYT.Common;
using WLYT.Domain.Model;

namespace WLYT.Admin.WebApi.Controllers
{
    [Authentication]
    public class BaseController : ApiController
    {
        public User CurrentUser
        {
            get
            {
                return (User)RequestContext.RouteData.Values["Authorization"];
            }
        }

        public BaseController()
        {
        }
    }
}